package com.example.cms.dao;


import java.util.List;

import org.springframework.stereotype.Repository;

import com.example.cms.entity.Order;

@Repository
public interface OrderDao {
	public List<Order> getAllOrders();//获得所有订单信息

	public Integer getOrdersNum();//查询所有订单数量

	public List<Order> getAllOrdersById(Integer customerId);//获得单个用户所有订单信息

	public Integer deleteOrder(Integer orderId);//删除订单

	public Integer updaeOrder(Order order);//修改订单

	public Integer insertOrder(Order order);//增加订单
}
